]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme/switcher-popup: Increase contrast of switcher items
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 26 Mar 2020 21:12:39 +0000 (22:12 +0100)
committerJakub Steiner <jimmac@gmail.com>
Fri, 27 Mar 2020 13:58:47 +0000 (13:58 +0000)
Use a brighter color and increase the contrast of the selected/active
items in the switcher popup.

Since a bright color doesn't go well with a box-shadow, remove that
shadow, an effect like should only be used for elements clicked with a
mouse anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1135

data/theme/gnome-shell-sass/widgets/_switcher-popup.scss

index 25249586e3e6e68f2ddae07d21ae20cf79d9262c..32cbbe5483ee8cee2d9b46ee3288f9e322af75f2 100644 (file)
     border: 1px solid transparent;
 
     &:outlined {
-      border: 1px solid darken($borders_color,5%);
-      background-color: transparentize($osd_fg_color, 0.9);
-      box-shadow: inset 0 2px 2px 0 rgba(0,0,0,0.4);
+      background-color: transparentize($osd_fg_color, 0.7);
     }
 
     &:selected {
-      background-color: transparentize($osd_fg_color, 0.9);
+      background-color: transparentize($osd_fg_color, 0.7);
       color: $osd_fg_color;
     }
   }